<template>
  <nav-bar class="navTop">
    <div slot="left">
      <a href="javascript:;">
      <img @click="backClick" src="~assets/img/profile/setting/jiantou.png">
      </a>
    </div>
    <div slot="center"><span>个人资料</span></div>
  </nav-bar>
</template>

<script>
  import NavBar from "components/common/navbar/NavBar";

  export default {
    name: "navTop",
    components:{
      NavBar,
    },
    methods:{
      backClick(){
        this.$router.back()
      }
    }
  }
</script>

<style scoped>
.navTop{
  background-color: #11dff1;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 9;
}
a{
  display: flex;
  justify-content: left;
  align-items: center;
  height: 44px;
}
  img{
    height: 60%;
    margin-left: 10px;
    transform: rotate(180deg);
  }
  span{
    color: white;
  }
</style>
